<?php

namespace App\Models;



class Category extends Base
{

    public function child() {
        return $this->hasMany(Category::class, 'parent_id');
    }




}
